package com.cax.module.tran.domain;


import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 培训证书管理表 实体
 * @author makejava
 * @date 2024-09-24 11:31:31
 */
@Data
@Accessors(chain = true)
@TableName("train_certificate")
@ApiModel(value = "TrainCertificate", description = "培训证书管理表")
public class TrainCertificate extends Model<TrainCertificate> implements Serializable {
	private static final long serialVersionUID = -65871733875284782L;

    @ApiModelProperty(value = "培训证书管理表-主键id")
	@TableId(value = "id", type = IdType.AUTO)
    private Integer id;

	@ApiModelProperty(value = "证书名称")
	@TableField("`certificate_name`")
    private String certificateName;

	@ApiModelProperty(value = "培训人姓名")
	@TableField("`name`")
    private String name;

	@ApiModelProperty(value = "身份证号码")
	@TableField("`identity_card`")
    private String identityCard;

	@ApiModelProperty(value = "证书编号")
	@TableField("`certificate_code`")
    private String certificateCode;

	@ApiModelProperty(value = "备注")
	@TableField("`remark`")
    private String remark;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField("`create_time`")
    private LocalDateTime createTime;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField("`update_time`")
    private LocalDateTime updateTime;

	@TableField("`delete_flag`")
    private Integer deleteFlag;

}

